package auth

import "github.com/gin-gonic/gin"

type Body struct {
	code uint16
	data gin.H
}

func Make_body(code uint16) Body{
	return Body{
		code,
		gin.H{},
	}
}


func (th *Body) Set_data(key string, v interface{}) {
	th.data[key] = v
}